package com.frx.datastruct.chapterten;

import java.util.Set;
import java.util.TreeMap;

/**
 * Created by xurenfeng on 2019/3/13.
 */
public class MainTest {

    public static void main(String[] args){

        TreeMap<Integer,String> treeMap = new TreeMap<>();

        treeMap.put(1,"a");
        treeMap.put(2,"b");
        treeMap.put(3,"c");

        Set treeSet = treeMap.entrySet();
        System.out.println(treeSet);

    }

}
